package com.chain.BrotherExchange.data.model;

import java.util.List;

public class ChargeMoneyDetails extends BaseResponseModel<ChargeMoneyDetails.DataBean> {


    public static class DataBean {
        /**
         * list : {"page_index":1,"page_size":2,"total_page":4,"total":7,"items":[{"id":9,"token_id":4,"token_name":"SDC","amount":"2.83494659","address":"0xd7cd51005e0490af1e44b791a135510407adeedf","create_time":1529560289},{"id":8,"token_id":4,"token_name":"SDC","amount":"1.55615158","address":"0xd7cd51005e0490af1e44b791a135510407adeedf","create_time":1529560153}]}
         */

        private ListBean list;

        public DataBean() {
        }

        public DataBean(ListBean list) {

            this.list = list;
        }

        public ListBean getList() {
            return list;
        }

        public void setList(ListBean list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * page_index : 1
             * page_size : 2
             * total_page : 4
             * total : 7
             * items : [{"id":9,"token_id":4,"token_name":"SDC","amount":"2.83494659","address":"0xd7cd51005e0490af1e44b791a135510407adeedf","create_time":1529560289},{"id":8,"token_id":4,"token_name":"SDC","amount":"1.55615158","address":"0xd7cd51005e0490af1e44b791a135510407adeedf","create_time":1529560153}]
             */

            private int page_index;
            private int page_size;
            private int total_page;
            private int total;
            private List<ItemsBean> items;

            public ListBean() {
            }

            public ListBean(List<ItemsBean> items) {

                this.items = items;
            }

            public int getPage_index() {
                return page_index;
            }

            public void setPage_index(int page_index) {
                this.page_index = page_index;
            }

            public int getPage_size() {
                return page_size;
            }

            public void setPage_size(int page_size) {
                this.page_size = page_size;
            }

            public int getTotal_page() {
                return total_page;
            }

            public void setTotal_page(int total_page) {
                this.total_page = total_page;
            }

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public List<ItemsBean> getItems() {
                return items;
            }

            public void setItems(List<ItemsBean> items) {
                this.items = items;
            }

            public static class ItemsBean {
                /**
                 * id : 9
                 * token_id : 4
                 * token_name : SDC
                 * amount : 2.83494659
                 * address : 0xd7cd51005e0490af1e44b791a135510407adeedf
                 * create_time : 1529560289
                 */

                private int id;
                private int token_id;
                private String token_name;
                private String amount;
                private String address;
                private int create_time;

                public ItemsBean() {
                }

                public ItemsBean(String token_name, String amount, int create_time) {
                    this.token_name = token_name;
                    this.amount = amount;
                    this.create_time = create_time;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getToken_id() {
                    return token_id;
                }

                public void setToken_id(int token_id) {
                    this.token_id = token_id;
                }

                public String getToken_name() {
                    return token_name;
                }

                public void setToken_name(String token_name) {
                    this.token_name = token_name;
                }

                public String getAmount() {
                    return amount;
                }

                public void setAmount(String amount) {
                    this.amount = amount;
                }

                public String getAddress() {
                    return address;
                }

                public void setAddress(String address) {
                    this.address = address;
                }

                public int getCreate_time() {
                    return create_time;
                }

                public void setCreate_time(int create_time) {
                    this.create_time = create_time;
                }
            }
        }
    }
}
